<?php

declare(strict_types=1);

namespace App\Model;


/**
 * @property int $id 编号
 * @property string $label 参数名称
 * @property string $name 参数
 * @property int $business_id 业务编号
 * @property string $business_name 业务名称
 * @property string $old_value 旧值
 * @property string $new_value 操作涉及数据
 * @property int $op_userid 操作用户ID
 * @property string $op_username 操作用户名
 * @property int $op_time 操作时间
 */
class SettingLog extends Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'setting_logs';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'label', 'name', 'business_id', 'business_name', 'old_value', 'new_value', 'op_userid', 'op_username', 'op_time'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'business_id' => 'integer', 'op_userid' => 'integer', 'op_time' => 'integer'];
}
